package com.bailong.nanny.service.impl;

import com.bailong.nanny.d.LoginDao;
import com.bailong.nanny.dao.impl.LoginDaoImpl;
import com.bailong.nanny.entity.Admin;
import com.bailong.nanny.service.LoginService;

public class LoginServiceImpl implements LoginService {
   private LoginDao loginDao = new LoginDaoImpl();
    @Override
    public Admin LoginDao(String name,String password) {
        return loginDao.LoginDao(name,password);
    }
}
